<!-- 购买宝贝 -->
<template>
	<view class="page-index">
		<!-- 商品信息 -->
		<view class="box"></view>
		<view class="commodity">
			<view class="commodity_left">
				<image class="commodity_left" :src="baseOssUrl2 +form.headPhoto" mode="aspectFill"></image>
			</view>
			<view class="commodity_right">
				<view class="commodity_right_h">{{form.title}}</view>
				<view class="commodity_right_money">
					<view class="commodity_right_money_t">¥</view>
					<view class="commodity_right_money_h">{{form.dj}}</view>
				</view>
			</view>
		</view>
		<!-- 收件地址 -->
		<view class="city">
			<view class="city_li">
				<view class="city_li_h">收货人:</view>
				<view class="city_li_right">
					<input type="text" v-model="addForm.zName" maxlength="6" placeholder="请输入收货人">
				</view>
			</view>
			<view class="xiancss"></view>
			<view class="city_li">
				<view class="city_li_h">收货地址:</view>
				<view class="city_li_right">
					<input type="text" v-model="addForm.shdz" placeholder="请输入收货地址">
				</view>
			</view>
			<view class="xiancss"></view>
			<view class="city_li">
				<view class="city_li_h">手机号:</view>
				<view class="city_li_right">
					<input type="number" maxlength="11" v-model="addForm.phone" placeholder="请输入手机号">
				</view>
			</view>
			<view class="xiancss"></view>
			<view class="city_li">
				<view class="addres-compute">
					<fui-input-number custom @change="changes" backgroundColor="#FFF" :size="30" :width="60" margin="0">
						<image style="width: 60rpx;height: 60rpx;" :src="baseOssUrl + 'icon/jian.png' " mode=""></image>
						<template v-slot:plus>
							<image style="width: 60rpx;height: 60rpx;" :src="baseOssUrl + 'icon/jia.png'" mode=""></image>
						</template>
					</fui-input-number>
				</view>
			</view>
			<view class="xiancss"></view>
			<view class="city_li">
				<view class="city_li_h">合计</view>
				<view class="city_li_money">
					<view class="city_li_money_t">¥</view>
					<view class="city_li_money_h">{{pricebn}}</view>
				</view>
			</view>
		</view>
		<!-- 确认购买 -->
		<view class="fix">
			<view class="fix_main">
				<view class="fix_main_h">实付款：</view>
				<view class="fix_main_t">¥</view>
				<view class="fix_main_money">{{pricebn}}</view>
				<view class="fix_main_btn" @click="submin()">立即购买</view>
			</view>
			<!-- 苹果安全边剧 -->
			<view class="fix_box"></view>
		</view>
	</view>
</template>

<script src="./page.js"></script>

<style scoped lang="scss">
	@import 'page.scss';
</style>
